<?php
$db['productstyle'] = array(
        "columns"=>array(
              "style_id"=>array(
                    "type" => "number",
                    "required" => true,
                    "pkey" => true,
                    "extra" => "auto_increment",
                    "label" => app::get( "yswarranty" )->_( "註冊索引" ),
                    "editable" => false,
                    "in_list" => false
              ),
                "product_category"=>array(
                        "type" => "varchar(30)",
                        "label" => app::get( "yswarranty" )->_( "商品" ),
                        "width" => 200,
                        "searchtype" => "has",
                        "editable" => true,
                        'filtertype' => 'yes',
                        'filterdefault' => true,
                        "in_list" => true,
                        "is_title" => true,
                        "default_in_list" => true
                ),
                "product_style"=>array(
                        "type" => "varchar(30)",
                        "label" => app::get( "yswarranty" )->_( "機種" ),
                        "width" => 200,
                        "searchtype" => "has",
                        "editable" => true,
                        'filtertype' => 'yes',
                        'filterdefault' => true,
                        "in_list" => true,
                        "is_title" => true,
                        "default_in_list" => true
                )
        ),
        "engine" => "innodb"

);
?>